package com.gsnd.gsnd22estore.mapper;

import com.gsnd.gsnd22estore.domain.EsShopcar;
import com.gsnd.gsnd22estore.dto.ShopCarInfoDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Entity com.gsnd.gsnd22estore.domain.EsShopcar
 */
@Mapper
public interface EsShopcarMapper {

     //
     List<ShopCarInfoDTO> getShopCarInfoByUse(Integer userId);

     void addBookToShopCar(EsShopcar shopCar);
     void removeShopCar(List<Integer> ids);
     void exitBookNum(EsShopcar shopCar);
}




